package net.njcp.spi.selector.api;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @ClassName SelectorWrapper
 * @Description: 选择器, 根据条件, 选择具体的 SpiImpl;
 * @Author 柳拓
 * @Date 2019/8/6
 * @Version V1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
public class SelectorWrapper {

    /**
     * 具体的选择器
     */
    private ISelector selector;


    /**
     * 具体选择器对应的条件类型
     */
    private Class conditionType;

}
